﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.EntityValidation
{
    public class QQAttribute : RegExValidationAttribute
    {
        public QQAttribute()
        {

            RegEx = @"^[1-9][0-9]{4,}$";  //手机号
            ErrorMessage = "请输入正确的QQ";
        }
    }
}
